package org.brownflat.lighthouse.monitor;

import org.apache.log4j.Logger;
import org.brownflat.lighthouse.action.Action;
import org.brownflat.lighthouse.ci.Monitorable;
import org.brownflat.lighthouse.device.Device;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

public class NothingTask implements LighthouseTask {
    private String name;
	private static final Logger LOG = Logger.getLogger(NothingTask.class);

	@Override
	public void run() {
		LOG.info("doing nothing");
	}

	@Override
	public String getName() {
		return name;
	}

    @Override
    public void setName(String name) {
        this.name = name;
    }

    @Override
    public Monitorable getMonitorable() {
        return null;
    }

    @Override
    public void setMonitorable(Monitorable monitorable) {
    }

    @Override
    public Device getDevice() {
        return null;
    }

    @Override
    public void setDevice(Device device) {
    }

    @Override
    public boolean isBroken() {
        return false;
    }

    @Override
    public void setBroken(boolean broken) {

    }

    @Override
    public Action getWhenResetNeeded() {
        return null;
    }

    @Override
    public void setWhenResetNeeded(Action whenResetNeeded) {

    }

    @Override
    public Action getWhenFalse() {
        return null;
    }

    @Override
    public void setWhenFalse(Action whenFalse) {

    }

    @Override
    public Action getWhenTrue() {
        return null;
    }

    @Override
    public void setWhenTrue(Action whenTrue) {

    }
}
